import dagger.Component;

import javax.inject.Singleton;

@Singleton
@Component(modules = {
        LoginCommandModule.class,
        HelloWorldModule.class,
        UserCommandsRouter.InstallationModule.class,
        AmountsModule.class,
        SystemOutModule.class
})
public interface CommandProcessorFactory {
    CommandProcessor processor();

    static CommandProcessorFactory create(){
        return DaggerCommandProcessorFactory.create();
    }
}
